package no.saiboten.spotify.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class DefaultController {

	private final Logger LOGGER = Logger.getLogger(getClass());

	@RequestMapping("")
	public String defaultHandler() {
		LOGGER.debug("Default controller called");
		return "index";
	}

	@RequestMapping("mobile")
	public String mobileHandler() {
		LOGGER.debug("Default mobile handler called");
		return "mobile";
	}

}
